<div class="flip_k">
    <span class="flip" onclick="window.location.href = '{$page_info.url_pre}1';"><a>首页</a></span>
    {for $current_page=$page_info.start; $current_page <= $page_info.end; $current_page++}
        {if $page_info.current eq $current_page}
            <span class="flip current"><a>{$current_page}</a></span>
        {else}
            <span class="flip" onclick="window.location.href = '{$page_info.url_pre}{$current_page}';"><a>{$current_page}</a></span>
        {/if}
    {/for}
    <span class="flip" onclick="window.location.href = '{$page_info.url_pre}{$page_info.last}';"><a>尾页</a></span>
</div>